<template>
  <div>
    <el-container>
      <el-header width="200px" style="background-color: #545c64; color: white">
        <h1><strong>RBAC管理系统</strong></h1>
      </el-header>
      <el-container>
        <el-aside width="180px">
          <el-container>
            <el-aside width="180px">
              <el-menu
                router
                default-active="2"
                class="el-menu-vertical-demo"
                background-color="#545c64"
                text-color="#fff"
                active-text-color="#ffd04b"
              >
                <el-submenu
                  v-for="(item, index) in PerList"
                  :key="index"
                  :index="item.value"
                >
                  <template slot="title">
                    <i class="el-icon-location"></i>
                    <span>{{ item.label }}</span>
                  </template>
                  <el-menu-item
                    v-for="(e, i) in item.children"
                    :key="i"
                    :index="e.URL"
                    >{{ e.label }}</el-menu-item
                  >
                </el-submenu>
              </el-menu>

              <!-- <el-menu
                router
                background-color="#545c64"
                text-color="#fff"
                active-text-color="#ffd04b"
              >
                <el-menu-item index="/">
                  <i class="el-icon-s-home"></i>
                  <span slot="title">登录</span>
                </el-menu-item>
                <el-menu-item index="/about">
                  <span slot="title">About</span>
                </el-menu-item>
                <el-menu-item index="/UserInfoList">
                  <span slot="title">用户列表</span>
                </el-menu-item>
                <el-menu-item index="/RoleInfoList">
                  <span slot="title">角色列表</span>
                </el-menu-item>
                <el-menu-item index="/PermissionInfoList">
                  <span slot="title">权限列表</span>
                </el-menu-item>
                <el-menu-item index="/PermissionInfoList">
                  <span slot="title"></span>
                </el-menu-item>
                <el-menu-item index="/PermissionInfoList">
                  <span slot="title"></span>
                </el-menu-item>
                <el-menu-item index="/PermissionInfoList">
                  <span slot="title"></span>
                </el-menu-item>
                <el-menu-item index="/PermissionInfoList">
                  <span slot="title"></span>
                </el-menu-item>
                <el-menu-item index="/PermissionInfoList">
                  <span slot="title"></span>
                </el-menu-item>
                <el-menu-item index="/PermissionInfoList">
                  <span slot="title"></span>
                </el-menu-item>
                <el-menu-item index="/PermissionInfoList">
                  <span slot="title"></span>
                </el-menu-item>
                <el-menu-item index="/PermissionInfoList">
                  <span slot="title"></span>
                </el-menu-item> </el-menu
            >--></el-aside
            >
          </el-container>
        </el-aside>
        <el-main> <router-view /></el-main>
      </el-container>
    </el-container>
  </div>
</template>

<script>
export default {};
</script>

<style>
</style>